package com.dsx.haha.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author dsx
 * @date 2021/3/11 12:50
 * @since JDK1.8
 */
@Table(name = "tenant")
//@Data
//@AllArgsConstructor
//@NoArgsConstructor
public class Tenant implements Serializable {
    private String id;
    private String tenantName;
//    private String createMan;
//    private String createPwd;
    private Date createTime;

    @Override
    public String toString() {
        return "Tenant{" +
                "id='" + id + '\'' +
                ", tenantName='" + tenantName + '\'' +
                ", createTime=" + createTime +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }
    
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Tenant(String id, String tenantName, String createMan, String createPwd, Date createTime) {
        this.id = id;
        this.tenantName = tenantName;
        this.createTime = createTime;
    }

    public Tenant() {
    }
}
